home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / bluelight.gsh < prev    next >
Text File  |  2000-08-22  |  1KB  |  53 lines

  1. // defines blue light
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_bluelight_GSH
  8. #define INCLUDED_bluelight_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. pgenerator Pgn_blue
  13. {
  14.     type corona
  15.     life infinite
  16.     rate 1            // exactly the same as the decay rate hence the effect !
  17.     
  18.     // stream direction
  19.     x    0
  20.     y    0
  21.     z    0
  22.     
  23.     // particle colour
  24.     red   0.5
  25.     green 0.5
  26.     blue  0.8
  27.     alpha 1
  28. }
  29.  
  30. light Lit_blue
  31. {
  32.     red             0.6
  33.     green           0.6
  34.     blue            1
  35.     specular red    0.6
  36.     specular green    0.6
  37.     specular blue    0.8
  38.     range           6
  39.  
  40. }
  41.  
  42. role Rol_Bluelight : Rol_PlacedObject
  43. {
  44.     shape Pgn_blue
  45.     light Lit_blue
  46.     moves on lifts yes
  47.     identifier "bluelight"
  48. }
  49.  
  50. ////////////////////////////////////////////////////////////////////////////////////
  51.  
  52. // end wrapper - for preventing multiple or recursive inclusions
  53. #endif // !INCLUDED_bluelight_GSH